Skip to content

feat(Hardware Support): Add AYANEO Flip 1S KB - #815

Merged
pastaq merged 1 commit into
ShadowBlip:mainfrom
xinhan1989:feat/ayaneo-flip-1s-kb
Nov 20, 2026
Merged

pastaq merged 1 commit into
ShadowBlip:mainfrom
xinhan1989:feat/ayaneo-flip-1s-kb

Conversation

@xinhan1989

Copy link
Copy Markdown
Contributor

Add a composite device config for the AYANEO Flip 1S KB, the keyboard model of the Flip 1S (DMI product name "FLIP 1S KB"). It is copied from the Flip 1S DS config: the X-Box 360 pad, the AYANEO COMPOSITE DEVICE and the AT keyboard sit at the same phys paths, and the extra buttons send the same key codes, so it reuses the aya8 capability map.

Checked the IMU matrix configuration as well and corrected it based on some tests performed on the device.

Also add the DMI string to the InputPlumber autostart hwdb so udev starts the service on this device.

Tested on a Flip 1S KB (BIOS 1.03a_KB) running Bazzite with InputPlumber 0.83.1.

An LLM was used to derive the config from the Flip 1S DS config, write the scripts that captured the button events and IMU readings, work out the mount matrix from those readings, and first-draft this message. I reviewed the changes and tested them on the device.

Closes #762

Assisted-by: LLM

Add a composite device config for the AYANEO Flip 1S KB, the keyboard
model of the Flip 1S (DMI product name "FLIP 1S KB"). It is copied from
the Flip 1S DS config: the X-Box 360 pad, the AYANEO COMPOSITE DEVICE
and the AT keyboard sit at the same phys paths, and the extra buttons
send the same key codes, so it reuses the aya8 capability map.

Button events captured on the device with InputPlumber stopped:
- AYANEO COMPOSITE DEVICE: AYANEO button KEY_F23, LC KEY_F21,
  RC KEY_F22, Custom Right KEY_LEFTMETA + KEY_D
- AT Translated Set 2 keyboard: Custom Left KEY_F18, volume buttons
  KEY_VOLUMEUP / KEY_VOLUMEDOWN
- X-Box 360 pad: three-dot button BTN_MODE

The touchscreen is left unmanaged. The KB has a different panel
(FTCS1000:00 2808:1015) from the one the DS config matches (0416:1001),
and it works without InputPlumber.

The IMU mount matrix was measured on the device by reading the raw
bmi323 axes with InputPlumber stopped. Lying flat, gravity reads on
raw -z; with the right side raised, on raw -y; held upright facing the
user, on raw +x. Turning the device counter-clockwise on a table gives
negative raw z angular velocity. The matrix maps these to the
DualSense-style axes InputPlumber uses (x right, y up, z toward the
user), so lying flat reads +y and turning left reads positive yaw.
Moving the lid does not change the readings, so the sensor is in the
base.

Also add the DMI string to the InputPlumber autostart hwdb so udev
starts the service on this device.

Tested on a Flip 1S KB (BIOS 1.03a_KB) running Bazzite with
InputPlumber 0.83.1.

An LLM was used to derive the config from the Flip 1S DS config, write
the scripts that captured the button events and IMU readings, work out
the mount matrix from those readings, and draft this message. I
reviewed the changes and tested them on the device.

Closes ShadowBlip#762

Assisted-by: LLM
@pastaq
pastaq merged commit f07f4a6 into ShadowBlip:main Nov 20, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.85.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Ayaneo Flip 1S KB

2 participants